
package com.example.soapserver.model.department;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>department complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType name="department">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="deptCode" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="deptName" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="parentDeptCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="parentDeptName" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="sortOrder" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         &lt;element name="accStatus" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         &lt;element name="deptLevel" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "department", namespace = "http://com.cssc.cn/webservice/department", propOrder = {
    "deptCode",
    "deptName",
    "parentDeptCode",
    "parentDeptName",
    "sortOrder",
    "accStatus",
    "deptLevel"
})
public class Department {

    @XmlElement(namespace = "http://com.cssc.cn/webservice/department", required = true)
    protected String deptCode;
    @XmlElement(namespace = "http://com.cssc.cn/webservice/department", required = true)
    protected String deptName;
    @XmlElement(namespace = "http://com.cssc.cn/webservice/department")
    protected String parentDeptCode;
    @XmlElement(namespace = "http://com.cssc.cn/webservice/department")
    protected List<String> parentDeptName;
    @XmlElement(namespace = "http://com.cssc.cn/webservice/department")
    protected Integer sortOrder;
    @XmlElement(namespace = "http://com.cssc.cn/webservice/department")
    protected Integer accStatus;
    @XmlElement(namespace = "http://com.cssc.cn/webservice/department")
    protected Integer deptLevel;

    /**
     * 获取deptCode属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDeptCode() {
        return deptCode;
    }

    /**
     * 设置deptCode属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDeptCode(String value) {
        this.deptCode = value;
    }

    /**
     * 获取deptName属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDeptName() {
        return deptName;
    }

    /**
     * 设置deptName属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDeptName(String value) {
        this.deptName = value;
    }

    /**
     * 获取parentDeptCode属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getParentDeptCode() {
        return parentDeptCode;
    }

    /**
     * 设置parentDeptCode属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setParentDeptCode(String value) {
        this.parentDeptCode = value;
    }

    /**
     * Gets the value of the parentDeptName property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the parentDeptName property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getParentDeptName().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link String }
     * 
     * 
     */
    public List<String> getParentDeptName() {
        if (parentDeptName == null) {
            parentDeptName = new ArrayList<String>();
        }
        return this.parentDeptName;
    }



    /**
     * 获取sortOrder属性的值。
     * 
     * @return
     *     possible object is
     *     {@link Integer }
     *     
     */
    public Integer getSortOrder() {
        return sortOrder;
    }

    /**
     * 设置sortOrder属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setSortOrder(Integer value) {
        this.sortOrder = value;
    }

    /**
     * 获取accStatus属性的值。
     * 
     * @return
     *     possible object is
     *     {@link Integer }
     *     
     */
    public Integer getAccStatus() {
        return accStatus;
    }

    /**
     * 设置accStatus属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setAccStatus(Integer value) {
        this.accStatus = value;
    }

    /**
     * 获取deptLevel属性的值。
     * 
     * @return
     *     possible object is
     *     {@link Integer }
     *     
     */
    public Integer getDeptLevel() {
        return deptLevel;
    }

    /**
     * 设置deptLevel属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setDeptLevel(Integer value) {
        this.deptLevel = value;
    }

}
